package com.education.common.utils;

import java.io.Serializable;

public class LyuiReturnObject implements Serializable{

	private static final long serialVersionUID = 1L;

	Integer code=0;
	Object errorMessage;
	Object data;
	long count;

	public LyuiReturnObject(Integer code, Object errorMessage,long count, Object data) {
		super();
		this.code = code;
		this.errorMessage = errorMessage;
		this.count = count;
		this.data = data;
	}
	public LyuiReturnObject(Object errorMessage, Object data) {
		super();
		this.errorMessage = errorMessage;
		this.data = data;
	}
	public LyuiReturnObject(Object data) {
		super();
		this.data = data;
	}
	public Integer getCode() {
		return code;
	}

	public void Integer(Integer code) {
		this.code = code;
	}

	public Object getErrorMessage() {
		return errorMessage;
	}

	public void setErrorMessage(Object errorMessage) {
		this.errorMessage = errorMessage;
	}

	public Object getData() {
		return data;
	}

	public void setData(Object data) {
		this.data = data;
	}

	public void setCode(Integer code) {
		this.code = code;
	}

	public long getCount() {
		return count;
	}

	public void setCount(long count) {
		this.count = count;
	}
}
